package org.usfirst.frc.team4188.robot.subsystems;

import org.usfirst.frc.team4188.robot.RobotMap;
import org.usfirst.frc.team4188.robot.commands.RelaysDoNothing;

import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.Relay.Value;
import edu.wpi.first.wpilibj.command.Subsystem;

/**
 *
 */


public class Relays extends Subsystem {
	
	 static Relay practiceRelay = RobotMap.practiceRelay;
    
    // Put methods for controlling this subsystem
    // here. Call these from Commands.
	
	public static void init(){
		practiceRelay.set(Relay.Value.kOff);
		
	}

    public void initDefaultCommand() {
    	setDefaultCommand(new RelaysDoNothing());
        // Set the default command for a subsystem here.
        //setDefaultCommand(new MySpecialCommand());
    }
    
   

	public void runpracticeRelayForward(){
		practiceRelay.set(Relay.Value.kForward);
		// TODO Auto-generated method stub
		
	}

	public void stoppracticeRelay() {
		
		// TODO Auto-generated method stub
		
	}

	public void runpracticeRelayBackward() {
		// TODO Auto-generated method stub
		practiceRelay.set(Relay.Value.kReverse);
	}
}

